package com.kmxd.ams.client.oss.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * 电子文件表
 *
 * @author ZuoLG
 * @since 2022-07-25
 */
@Schema(description = "电子文件表对象")
@Data
public class EfileRecordDTO implements Serializable {

  private static final long serialVersionUID = 1L;

  /** 全宗id */
  @Schema(description = "全宗id")
  private Long fondsId;

  /** 门类id */
  @Schema(description = "门类id")
  private Long archTypeId;

  /** 所属表名 */
  @Schema(description = "所属表名")
  @NotNull(message = "所属表名不能为空")
  private String tableId;

  /** 档案id */
  @Schema(description = "档案id")
  private Long archId;

  /** 档案档号 */
  @Schema(description = "档案档号")
  private String archCode;

  /** 全宗号 */
  @Schema(description = "全宗号")
  private String fondsCode;

  /** 用于sip等封装解析使用 */
  @Schema(description = "路径")
  private String path;
}
